package group.base.mapper;

import group.base.entity.Order;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OrderMapper {
    List<Order> getOrderList();
    List<Order> oneToMany();
    Order getOrder(@Param("id") int id);
    void updateOrder(Order order);
}
